package service;

import pojo.User;

public interface UserService {
    //查
    User queryUserByName(String name);

    //条件查
    User queryUserByNameAndPassword(String name,String password);
    //增
    int addUser(User user);
    //删
    int deleteUser(int id);
    //改
    int updateUser(User user);
}
